<div class="block_in_wrapper">
	<h2>{#addfolder#}</h2>
	
	<form class="main" action="managefile.php?action=addfolder&amp;id={$project.ID}" method="post" {literal} onsubmit="return validateCompleteForm(this,'input_error');"{/literal}>
		<fieldset>
			<div class = "row">
				<label for = "folderparent">{#parent#}:</label>
				<select name = "folderparent" id = "folderparent">
				<option value = "0">{#rootdir#}</option>
				{section name=fold loop=$allfolders}
					<option value = "{$allfolders[fold].ID}">/{$allfolders[fold].name}</option>
				{/section}
				</select>
			</div>
			
			<div class="row">
			<label for = "foldertitle">{#title#}:</label><input type = "text" class="text" name = "foldertitle" id="foldertitle" />
			</div>
			
			<div class="row">
			<label for = "folderdesc">{#description#}:</label><input type = "text" class="text" name = "folderdesc" id="folderdesc" />
			</div>
			
			<div class = "row">
				<label>{#visibility#}:</label>:
				<select name = "visible[]" multiple style = "height:80px;">
					<option value = "" selected>{#all#}</option>
					{section name=role loop=$roles}
						<option value = "{$roles[role].ID}" >{$roles[role].name}</option>
					{/section}
				</select>
			</div>

			<div class="row-butn-bottom">
				<label>&nbsp;</label>
				<button type="submit" onfocus="this.blur();">{#addbutton#}</button>
				<button onclick="blindtoggle('form_folder');toggleClass('addfolder','addfolder-active','addfolder');toggleClass('add_folder_butn','butn_link_active','butn_link');toggleClass('sm_files','smooth','nosmooth');return false;" onfocus="this.blur();">{#cancel#}</button>
			</div>

		</fieldset>
	</form>
</div> {*block_in_wrapper end*}